<?php
namespace app\serverorder\logic;

use \app\manage\logic\BaseLogic;
use \app\manage\service\ApiBase;

/**
 * @author:      李颖
 * @DateTime:    2017-10-13 11:43:43
 * @Description: 订单
 */
class Order extends BaseLogic
{
	protected $orderLogic = 'app\serverorder\logic\Order';
    protected $orderValidate = 'app\serverorder\validate\Order';

    use \app\serveruser\traits\RunOneAddUserInfo;

    public function allOrderList($data): array 
    {
        return $this->_runOneAddLotsUserInfo($data, 'serverorder/order/Order/allOrderList', $this->orderValidate, $this->orderLogic);
    }

    public function adminOrderInfo($data): array 
    {
        return $this->_runOneAddOneUserInfo($data, 'serverorder/order/Order/adminOrderInfo', $this->orderValidate, $this->orderLogic);
    }


}